package com.netjava.dao;

import java.util.List;

import com.netjava.pojo.Product;

public interface IProductDAO {
	public Product save(Product product);
	public void delete(Product product);
	public Product findById(java.lang.Integer id);
	public List findByProductName(Object productName);
	public List findByBasePrice(Object basePrice);
	public List findByMarketPrice(Object marketPrice);
	public List findByState(Object state);
	public List findByDetails(Object details);
	public void attachDirty(Product product) ;
	//根据状态进行分页查询
	public List<Product> pageCutSel(Integer state,Integer page,Integer num);

}
